package com.lankystar.sos.model;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 聊天室
 * @author SYX
 *
 */
@Entity
@Table(name="sos_room")
public class Room implements Serializable{

	private static final long serialVersionUID = 1L;
	private int roomId;
	private int sos_id;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getRoomId() {
		return roomId;
	}
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	public int getSos_id() {
		return sos_id;
	}
	public void setSos_id(int sos_id) {
		this.sos_id = sos_id;
	}
	
	
	
}
